package com.pace.day02.profiles;import com.pace.day02.profiles.bean.Dog;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.context.annotation.Profile;import org.springframework.test.context.ContextConfiguration;/** * @Auther: Administrator * @Date: 2019/3/25 0025 23:27 * @Description: */@Configuration@Profile("dev")public class DevProfilesConfig {    @Bean    public Dog dog(){        return new Dog();    }}